package cn.wolfcode.p2p.base.service;

import cn.wolfcode.p2p.base.domain.LoginInfo;
import cn.wolfcode.p2p.base.domain.UserInfo;

import java.util.List;

public interface IUserInfoService {

    void init(LoginInfo loginInfo);

    UserInfo getById(Long id);

    void basicInfoSave(UserInfo userInfo);

    /**
     * 统一修改,有乐观锁判断
     */
    void update(UserInfo userInfo);

}
